package com.example.duanjunjie.learn.http.service;


import com.example.duanjunjie.learn.http.model.Weather;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by duanjunjie on 2018/2/12.
 */

public interface ApiService {
    @GET("/weather/index")
    Observable<Weather> getWeather(@Query("cityname") String cityname, @Query("key")String key);
}
